public class test {
    public static void main(String[] args) {
        System.out.println(10%3);
        System.out.println(-10%3);
        System.out.println(10%-3);
        System.out.println(-10%-3); //1,-1,1,-1
    }
}
